package com.longcai.service.impl.nearby;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.longcai.entity.nearby.ClyjNearbyShops;
import com.longcai.entity.nearby.ClyjNearbyShopsAdvert;
import com.longcai.mapper.nearby.ClyjNearbyShopsAdvertMapper;
import com.longcai.service.nearby.ClyjNearbyShopsAdvertService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 店铺广告 服务实现类
 * </p>
 *
 * @author ZJ
 * @since 2019-03-26
 */
@Service
public class ClyjNearbyShopsAdvertServiceImpl extends ServiceImpl<ClyjNearbyShopsAdvertMapper, ClyjNearbyShopsAdvert> implements ClyjNearbyShopsAdvertService {

    @Autowired
    ClyjNearbyShopsAdvertMapper shopMapper;

    @Override
    public List<ClyjNearbyShops> getAdvertList(ClyjNearbyShopsAdvert queryWrapper) {
        //查询所有需要展示的广告的店铺
        return shopMapper.getAdvertList(queryWrapper);
    }

}
